<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                	<div class="row">
                		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >绑定卡号:</label>
                    		<div class="col-sm-5">
                    			<input type="text"   placeholder="请将卡放到读卡器上" data-minlength="5"  data-type="number"  required="required"  name="card_no" class="form-control" id="card_no"/>
                    		</div>
                    		<div class="col-sm-1">
                    			 <div class="btn-primary btn" id="form-submit">提交</div>
                    		</div>
                    		<div class="col-sm-1">
                    			 <div class="btn-default btn" data-dismiss="modal">关闭</div>
                    		</div>
                   		 </div>
                	</div>
                	
                	<div class="form-group">
	                    		<label class="col-sm-3 control-label" >入场验证:</label>
	                    		<div class="col-sm-5">
	                    			<select class="form-control" name="in_varifycation"  id="in_varifycation" >
	                    				<option value="0" >不验证</option>
	                    				<option value="1" >需验证</option>
	                    			</select>
	                    		</div>
	                </div>
                	
                	<div class="form-group" id="in_varifycation_type_div">
	                    		<label class="col-sm-3 control-label" >验证类型:</label>
	                    		<div class="col-sm-5">
	                    			<select class="form-control" name="in_varifycation_type" id="in_varifycation_type">
	                    				{$machines}
	                    				<option value="3" >前台验证</option>
	                    			</select>
	                    		</div>
	                    		<div class="col-sm-3"  id="camare_div">
                    			  <div class="col-sm-5">
		                			 <div class="btn-danger btn btn_face_camare" data-step="1">采集人脸</div>
		                		  </div>
		                		  <div class="col-sm-2">
		                		  	
		                		  </div>
		                		  <div class="col-sm-5">
		                			 <div class="btn-primary btn btn_face_camare" data-step="2">结束采集</div>
		                		  </div>
                    		    </div>
	                </div>
                	
                	 
                    <div class="form-group" id="finger_div">
	                    	<div class="col-sm-7 col-sm-offset-3">
	                    			<div class="alert alert-dismissable alert-danger" hidden="hidden">
	                    				<strong>1.您已经绑定了指纹，再次录入指纹 提交后 将会覆盖之前的指纹</strong>
	                    				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
	                    			</div>
	                    	</div>
                    		<div class="col-sm-4 col-sm-offset-2">
                    			<div  class="col-sm-8 col-sm-offset-3" style="height: 150px;background-color:oldlace">
                    				<img id="finger_image1" style="height: 150px;width: 100%;" src="/data/finger/a8.jpg" />
                    			</div>
                    			<div class="col-sm-8 col-sm-offset-3 btn btn-lg btn-danger btn_fingerprint" data-step="1">录入指纹</div>
                    		</div>
                    		<div class="col-sm-4">
                    			<div class="col-sm-8 col-sm-offset-3" style="height: 150px;background-color: oldlace;">
                    				<img id="finger_image2" style="height: 150px;width: 100%;" src="/data/finger/a8.jpg" />
                    			</div>
                    			<div class="col-sm-8 col-sm-offset-3 btn btn-lg btn-danger btn_fingerprint" data-step="2">确认指纹</div>
                    		</div>
                    </div>
                    
                    <div class="form-group" id="face_div">
	                    	<div class="col-sm-7 col-sm-offset-3" hidden="hidden">
	                    			<div class="alert alert-dismissable alert-danger">
	                    				<strong>1.您已经录入的人脸模板，再次录入模板 提交后 将会覆盖之前的模板</strong>
	                    				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
	                    			</div>
	                    	</div>
                    		<div class="col-sm-4 col-sm-offset-3">
                    			<div class="col-sm-8 col-sm-offset-3" style="height: 150px;background-color: oldlace;">
                    				<img id="face_image1" style="height: 150px;width: 100%;" src="/data/finger/a8.jpg" />                    				  
                    			</div>
                    			
                    		</div>
                    </div>
                    <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label" >会员姓名:</label>
                    		<div class="col-sm-6">
                    			<input type="text" id="name"  name="name" required  class="form-control">
                    		</div>
                    	</div>
                    <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label" >会员手机号:</label>
                    		<div class="col-sm-6">
                    			<input type="text" id="mobile"  name="mobile" required class="form-control">
                    		</div>
                    </div>	
                    
                    <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label">有效期开始:</label>
                    		<div class="col-sm-6">
                    			<input type="text" id="start_date" name="start_date" required data-minlength="5"    class="form-control datepicker">
                    		</div>
                    </div>
                    
                    <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label">有效期结束:</label>
                    		<div class="col-sm-6">
                    			<input type="text" id="end_date"  name="end_date"  required data-minlength="5"    class="form-control datepicker">
                    		</div>
                    </div>
                    
                    <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label">会员类型:</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" name="membership_type">
                					<option value="1">次卡</option>
                					<option value="2">年卡</option>
                    			</select>
                    		</div>
                    </div>
                    
                    <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label">状态:</label>
                    			<div class="col-sm-6">
                    				<select class="form-control" name="contract_status">
                    					<option value="1">有效</option>
                    					<option value="2">欠款</option>
                    					<option value="3">无效</option>
                    				</select>
                    			</div>
                    </div>
                     <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label">剩余次数:</label>
                    		<div class="col-sm-6">
                    			<input type="text" id="surplus_num" name="surplus_num" required  value="0" data-type="number"    class="form-control">
                    		</div>
                    </div>
                    <div class="form-group col-sm-6">
                    		<label class="col-sm-3 control-label">会员合同号:</label>
                    		<div class="col-sm-6">
                    			<input type="text" id="contract_id"  data-minlength="5" required name="contract_id"  class="form-control">
                    		</div>
                    </div>
                    <input type="hidden" id="fingerprint" name="fingerprint"/>
                    <input type="hidden" id="face1" name="face1"/>
                    <input type="hidden" id="icon1" name="icon1" />
                    
                    <!-- 安科代码-->
                    <input type="hidden" name="owner_type"  value="1"/>
                </form>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-3">
                        <div class="btn-toolbar">
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}member/local_add.js'></script>